[MPlayer-dev-eng] [PATCH] 'socklen_t' definition

JonY 10walls at gmail.com
Wed Jul 30 14:27:06 CEST 2008


Diego Biurrun wrote:
> On Wed, Jul 30, 2008 at 12:06:36AM +0900, KO Myung-Hun wrote:
>> Some system such as OS/2, 'socklen_t is not defined. So we need to check
>> its definition and if needed, should defined it.
>>
>> But, this check and definition can conflict with other systems. So set
>> its default value to 'HAVE', and check only on OS/2, finally if needed
>> define 'socklen_t'.
>>
>> Can this approach make a trouble with systems other than OS/2 ?
>
> I just committed a different check.  Testing on Windows is welcome.
>
> Diego


Hi,
For MinGW, the r27371 build succeeds. MinGW socklen_t lives in ws2tcpip.h.

$ grep socklen_t /mingw/include/ws2tcpip.h
typedef int socklen_t;
int WSAAPI getnameinfo(const struct sockaddr*,socklen_t,char*,DWORD,





More information about the MPlayer-dev-eng mailing list